from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtGui import QDoubleValidator, QIntValidator

class LineEditFloat(QLineEdit):
    def __init__(self, parent=None):
        super().__init__()
        validator = QDoubleValidator()
        self.setValidator(validator)  
        
class LineEditInt(QLineEdit):
    def __init__(self, parent=None):
        super().__init__()
        validator = QIntValidator()
        self.setValidator(validator)  
        
class LineEditStr(QLineEdit):
    def __init__(self, parent=None):
        super().__init__()
